package com.weishuang.account.manager.convert;

import com.weishuang.account.entity.Role;
import com.weishuang.model.account.dto.RoleDTO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface Role2RoleDTOCovert extends BaseConverter<Role, RoleDTO> {

    @Override
    RoleDTO convertTarget2Source(Role accountUser);

    @Override
    List<RoleDTO> covertTargetList2SourceList(List<Role> list);

}
